<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="p"%>
<%
	String path = request.getContextPath();
	String root = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
	request.setAttribute("root", root);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>MochaUI - A Web Applications User Interface Library</title>
<meta name="description" content="A web applications user interface library built on the Mootools javascript framework" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Content.css" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Core.css" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Layout.css" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Dock.css" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Tabs.css" />
<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Window.css" />
<script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-core-yc.js"></script>
<script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-more-yc.js"></script>
<script type="text/javascript" src="${root}/static/scripts/mocha.js"></script>
<script type="text/javascript" src="${root}/static/scripts/demo-virtual-desktop-init.js"></script>
<script type="text/javascript" src="${root}/static/plugins/tree/scripts/tree.js"></script>
<script type="text/javascript" src="${root}/static/wdate/WdatePicker.js"></script>
<style>
<!--
.t_lable { text-align: right; padding-right: 5px }
table { min-width: 1030px }
table tr { height: 30px }
table tr td { padding-left: 5px }
.required { color: red; font-weight: bold; margin-left: 3px; }
-->
</style>
</head>
<body>
<form id="in_form" action="${root}/salary/upload.action" method="post" enctype="multipart/form-data">
  <input type="file" name="upload"/>
  <s:select list="#request.companys" listKey="id" headerKey="-1" headerValue="-- 请选择 --" listValue="name" cssClass="select" name="companyId"/>
  <s:select list="#request.subTpls" listKey="id" headerKey="-1" headerValue="-- 请选择 --" listValue="name" cssClass="select" name="subTpl"/>
  <input type="text" name="payday" readonly="readonly" value="2001-10" onclick="WdatePicker({dateFmt:'yyyy-MM'});"/>
  <input type="submit" value="submit" />
</form>
</body>
</html>
